.left {
  position: absolute;
  left: 0;
  top: 64px;
  width: 368px;
  height: calc(100vh - 64px);
  // background: #193146;
  background: rgba(#171f23, 0.8);
  text-align: left;
  color: #ffffff;
  border-right: 1px solid rgba(#ffffff, 0.1);
  padding: 32px 0;
  &Title {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 8px;
    padding-left: 24px;
    img {
      width: 16px;
      height: 14px;
      margin-top: 6px;
    }
  }
  &Search {
    // padding-left: 24px;
    margin-left: 24px;
    margin-right: 24px;
    line-height: 34px;
    border: 1px solid rgba(#ffffff, 0.3);
    padding-left: 16px;
    :global {
      .anticon-search {
        color: rgba(#ffffff, 0.6);
        margin-right: 6px;
      }
    }
    input {
      background: transparent;
      border: 0;
      outline: none !important;
    }
  }

  &List {
    padding-left: 0;
    list-style: none;
    li {
      position: relative;
      line-height: 40px;
      padding-left: 20px;
      color: rgba(#ffffff, 0.7);
      border-radius: 2px;
      padding-left: 24px;
      cursor: pointer;
      &:hover {
        background: rgba(#2fb0ff, 0.05);
      }
    }
    .active {
      background: rgba(#2fb0ff, 0.05);
      color: #2fb0ff;
      &::after {
        position: absolute;
        right: 0;
        top: 0;
        content: '';

        width: 3px;
        height: 40px;
        background: #2fb0ff;
      }
    }
  }

  &Quit {
    // position: absolute;
    // bottom: 34px;
    margin: auto;
    line-height: 34px;
    width: 80%;
    text-align: center;
    border-radius: 2px;
    // border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    font-size: 12px;
    transition: all linear 0.2s;
    cursor: pointer;
    color: #fff;
    background: #2fb0ff;
    border: 1px solid rgba(#2fb0ff);
    &:hover,
    &:focus {
      background: lighten(#2fb0ff, 5%);
    }
  }
}

.right {
  text-align: left;
  margin-left: 368px;
  margin-top: 64px;
  height: calc(100vh - 64px);
  // background: #0c243a;
  background: rgba(#171f23, 0.8);
  color: rgba(#ffffff, 0.7);
  padding: 0 32px;
  &Title {
    display: flex;
    justify-content: space-between;
    height: 48px;
  }
  &Wrap {
    height: 100vh;
  }
  &Btns {
    display: flex;
  }
  &Search {
    width: 180px;
    line-height: 32px;
    height: 32px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 10px;
    margin-right: 16px;
    :global {
      .anticon-search {
        color: rgba(#ffffff, 0.6);
        margin-right: 6px;
      }
    }
    input {
      width: 146px;
      background: transparent;
      border: 0;
      outline: none !important;
    }
  }

  &Body {
    display: block;
    height: 500px;
  }
  &Btn {
    width: 64px;
    line-height: 32px;
    height: 32px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 12px;
    text-align: center;
    margin-right: 16px;
    cursor: pointer;
    transition: all 0.2s;
    &:hover,
    &:focus {
      color: rgba(#2fb0ff, 0.5);
      border: 1px solid rgba(#2fb0ff, 0.5);
    }
    &Primary {
      color: #fff;
      background: #2fb0ff;
      border: 1px solid rgba(#2fb0ff);
      &:hover,
      &:focus {
        color: #fff;
        background: lighten(#2fb0ff, 5%);
      }
    }
  }
  .tableBtn {
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
    &Item {
      cursor: pointer;
      &:hover {
        color: #ffffff;
      }
    }
  }

  :global {
    .ant-table {
      background: transparent;
    }
    .ant-table-tbody > tr.ant-table-placeholder:hover > td {
      background: rgba(23, 47, 66, 0.9);
    }

    .ant-table-tbody > tr.ant-table-row-selected > td {
      background: #172f42;
    }
    .ant-empty-normal {
      color: #fff;
    }

    .ant-table-thead > tr > th {
      background: rgba(#ffffff, 0.04);
      // background: #223b4e;
      color: rgba(#ffffff, 0.7);
      border-bottom: 1px solid rgba(#979797, 0.12);
    }
    .ant-table-tbody > tr > td {
      // background: #172f42;
      background: rgba(19, 27, 32, 0.85);
      border-bottom: 1px solid rgba(#979797, 0.12);
      color: rgba(#ffffff, 0.7);
    }
    .ant-table-tbody > tr.ant-table-row:hover > td {
      background: lighten(#172f42, 5%);
    }
    .ant-checkbox-inner {
      background-color: #172f42;
      border: 1px solid #d9d9d9;
    }

    .ant-checkbox-checked .ant-checkbox-inner {
      border-color: #2fb0ff;
      border: 1px solid #2fb0ff;
    }
    .ant-checkbox-indeterminate .ant-checkbox-inner::after {
      background-color: #2fb0ff;
    }

    .ant-checkbox-checked .ant-checkbox-inner::after {
      border-color: #2fb0ff;
    }

    .ant-checkbox-wrapper:hover .ant-checkbox-inner,
    .ant-checkbox:hover .ant-checkbox-inner,
    .ant-checkbox-input:focus + .ant-checkbox-inner {
      border-color: #2fb0ff;
    }

    .ant-pagination-item {
      background: transparent;
      border: 1px solid rgba(#ffffff, 0.3);
      a {
        color: #ffffff;
      }
    }

    .ant-pagination-item-active a {
      color: #2fb0ff;
      // color: rgba(#2fb0ff, 0.5);
    }
    // .ant-pagination {
    //   color: rgba(#ffffff, 0.7);
    // }

    .ant-pagination-prev .ant-pagination-item-link,
    .ant-pagination-next .ant-pagination-item-link {
      color: rgba(#ffffff, 0.7);
      background: transparent;
      border: 1px solid rgba(#ffffff, 0.3);
    }
    .ant-pagination-item-active {
      font-weight: 500;
      background: transparent;
      border-color: #2fb0ff;
      // border-color: rgba(#2fb0ff, 0.5);
    }
  }
}

.cModal {
  p {
    font-weight: 500;
  }
  input {
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: 0 !important;
    background: transparent;
    margin-bottom: 18px;
    width: 100%;
    padding-left: 10px;
    line-height: 30px;
  }
  :global {
    .ant-modal-content {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .ant-modal-body {
      background: url('../../common/images/bg.png');
      color: #ffffff;
      padding: 16px;
    }
    .ant-modal-title {
      color: #ffff;
    }
    .ant-modal-close-x {
      line-height: 40px;
      height: 40px;
      color: rgba(#ffffff, 0.7);
      &:hover {
        color: #ffffff;
      }
    }
    .ant-modal-header {
      background: transparent;
      border-bottom: 0;
      padding: 8px 24px;
      &:after {
        position: absolute;
        left: 0;
        top: 0;
        content: '';
        display: block;
        width: 100%;
        height: 40px;
        background: linear-gradient(
          90deg,
          rgba(21, 172, 237, 0.4) 0%,
          rgba(21, 172, 237, 0.3) 100%
        );
        opacity: 0.5;
        z-index: -1;
      }
    }
  }
}

.cButton {
  border-color: rgba(#2fb0ff, 0.5);
  color: rgba(#2fb0ff, 0.5);
  background: transparent;
  &:hover,
  &:focus {
    border-color: rgba(#2fb0ff, 0.7);
    color: rgba(#2fb0ff, 0.7);
    background: transparent;
  }
}
